import request from '@/utils/request'

import variable from '@/utils/variables'
const baseURL = variable.URL.baseURL

// 广告图
export function getPicList(query) {
  return request({
    baseURL: baseURL,
    url: '/extend/content/list',
    method: 'GET',
    params: query
  })
}

// 市场动态 滚动
export function getMacketList(query) {
  return request({
    baseURL: baseURL,
    url: '/extend/pd/market',
    method: 'GET',
    params: query
  })
}

// 品类
export function getClassifys(query) {
  return request({
    baseURL: baseURL,
    url: '/category/front/app_list',
    method: 'GET',
    params: query
  })
}

// 商品
export function getRolls(query) {
  return request({
    baseURL: baseURL,
    url: '/product/front/list_by_ids',
    method: 'GET',
    params: query
  })
}



// 猜你喜欢
export function getLikeList(query) {
  return request({
    baseURL: baseURL,
    url: '/search/product/search/recommend',
    method: 'GET',
    params: query
  })
}
